//***********************************************************************
//	File:		ConcreteBarrier.h
//	Author:		
//	Course:		SGP 1405
//	Purpose:	
//***********************************************************************
//***********************************************************************
//	Purposfully left blank for all comments regarding this file 
//	
//	
//	
//***********************************************************************



#pragma once
#include "Obstacle.h"
class ConcreteBarrier :
	public Obstacle
{
public:
	//Trilogy
	ConcreteBarrier(float posX = -1, float posY = -1);
	~ConcreteBarrier() = default;
	ConcreteBarrier(const ConcreteBarrier&) = default; 
	ConcreteBarrier& operator =(const ConcreteBarrier&) = default;

	//Type
	int GetType() const { return ENT_CONCRETEBARRIER; }

	//Interface
	void Update(float dt);
	void Render(void);
	void HandleCollision(const IEntity* pOther);
	void HandleEvent();
	SGD::Rectangle GetRect() const;

	//Special Concrete barrier stuff
	void ModifyHealth(float lostHP); 

	//Accessors
	float GetHealth(void) { return m_fHealth; }

	//Mutators
	void SetHealth(float hp) { m_fHealth = hp; }

private:
	float m_fHealth = 0.0f; 

};

